﻿// CPicNotify.cpp: 实现文件
//

#include "pch.h"
#include "CClient.h"
#include "CPicNotify.h"
#include "CLoginDlg.h"

// 自定义消息的最佳写法
#define UM_PIC_NOTIFY2 WM_USER + 9101

const int UM_PIC_NOTIFY = WM_USER + 9101;

// CPicNotify

IMPLEMENT_DYNAMIC(CPicNotify, CStatic)

CPicNotify::CPicNotify()
{

}

CPicNotify::~CPicNotify()
{
}


BEGIN_MESSAGE_MAP(CPicNotify, CStatic)
	ON_WM_LBUTTONDOWN()
	ON_WM_LBUTTONUP()
END_MESSAGE_MAP()



// CPicNotify 消息处理程序




void CPicNotify::OnLButtonDown(UINT nFlags, CPoint point)
{
	dlg->PostMessage(UM_PIC_NOTIFY, 10, 100);

	CStatic::OnLButtonDown(nFlags, point);
}


void CPicNotify::OnLButtonUp(UINT nFlags, CPoint point)
{
	// TODO: 在此添加消息处理程序代码和/或调用默认值

	CStatic::OnLButtonUp(nFlags, point);
}
